import { Module } from '@nestjs/common';
import { UserController } from '../controller/user.controller';
import { UserService } from '../service/user.service';
import { DbModule } from '../common/db.module';
import { userProviders } from 'src/model/user.providers';

@Module({
  imports: [DbModule],
  controllers: [ UserController ],
  providers: [ ...userProviders,UserService ]
})
export class UserModule {}
